package com.ape.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


@Data//get  set toString
@AllArgsConstructor//有参
@NoArgsConstructor//无参
public class Student {
    private Integer Sid;
    private String Sname;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;
    private String Ssex;
    private Integer classid;
}
